#ifndef REPORTCHART_H
#define REPORTCHART_H

#include <QDialog>
class SqlTableModel;
namespace Ui {
class ReportChart;
}

class ReportChart : public QDialog
{
    Q_OBJECT

public:
    explicit ReportChart(QWidget *parent = 0);
    ~ReportChart();
    void closeEvent(QCloseEvent *e);


private slots:
    void on_pushButton_clicked();
	void comboxIndexChanged(int);

    void on_pushButton_2_clicked();

private:
    Ui::ReportChart *ui;
    SqlTableModel *model;
    void setContents(const QString &table);
};

#endif // REPORTCHART_H
